package com.example.knowledgeget1.KnowtCommon.Entity;

import jakarta.persistence.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@Embeddable
public class StatusId implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Column(name = "stu_id")
    private Long stuId;

    @Column(name = "know_id")
    private Long knowId;

    public StatusId() {
    }

    public StatusId(Long stuId, Long knowId) {
        this.stuId = stuId;
        this.knowId = knowId;
    }
}
